import React from 'react'

export default function Head({checkAll,setcheckAll}) {
  return (
    <div className="tr">
                    <div className="td"><input type="checkbox" checked={checkAll} onChange={(e)=>{setcheckAll(e.target.checked)}}></input>全选</div>
                    <div className="td">商品名称</div>
                    <div className="td">数量</div>
                    <div className="td">单价</div>
                    <div className="td">小计</div>
                    <div className="td">操作</div>
                </div>
  )
}
